'use strict';
const LogWriter = require('./log_writer');

/**
 * ConsoleLogWriter - write log to console
 */
class ConsoleLogWriter extends LogWriter {
  write(data, clear = false) {
    if (clear) {
      console.log('====================================过去的就不要再提了====================================');
    } else {
      console.log(data);
    }
  }
}

module.exports = ConsoleLogWriter;
